package com.cxs.strategy.simple;

import com.cxs.strategy.simple.impl.SysLoginStrategyImpl;

/**
 * @Author: cxs
 */
public class StrategyTest {


    public static void main(String[] args) {
        // 需要哪种策略 就指定即可
        StrategyContext strategyContext = new StrategyContext(new SysLoginStrategyImpl());
        Object cxs = strategyContext.realDoLogin("cxs", "123");
    }
}
